﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admincp_thongtingv : AdminPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblHoTen.Text = this.Employee.TenGiaoVien;
        lblGioiTinh.Text = this.Employee.GioiTinh == true ? "Nam" : "Nữ";
        lblNgaySinh.Text = String.Format("{0:dd/MM/yyyy}", this.Employee.NgaySinh);
        lblDiaChi.Text = this.Employee.DiaChi;
        lblEmail.Text = this.Employee.Email;
        lblDienThoai.Text = this.Employee.DienThoai;
        imgHinhDaiDien.ImageUrl = "stores/avatar/" + this.Employee.Avatar;
        lblTrangThai.Text = this.Employee.TrangThai == true ? "Khả dụng" : "Không khả dụng";
    }
}